/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ejb.login;

import applicationexcepcion.AccountBannatoException;
import applicationexcepcion.AccountBloccatoException;
import applicationexcepcion.AccountLoginException;
import entity.Persona;
import javax.ejb.Local;

/**
 *
 * @author Antonio
 */
@Local
public interface LoginLocal {

    /**
     *
     * @param email
     * @param password
     * @throws AccountLoginException
     */
    Persona accesso(String email, String password) throws AccountLoginException, AccountBannatoException, AccountBloccatoException;
}
